package com.doubao.auth.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "monnet")
public class MonNetConfig {
    /**
     * 应用ID
     */
    private String appId;

    /**
     * 应用密钥
     */
    private String appKey;

    /**
     * API接口地址
     */
    private String apiUrl = "https://api.monnetcloud.com";

    /**
     * 短信验证码有效期（分钟）
     */
    private int smsCodeExpiration = 5;

    /**
     * 短信验证码长度
     */
    private int smsCodeLength = 6;

    /**
     * 短信发送间隔（秒）
     */
    private int smsSendInterval = 60;
}